home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / lib / c / Quad_Misc.man < prev    next >
Encoding:
Text File  |  1991-03-18  |  1.3 KB  |  46 lines

  1. '\" Copyright 1991 Regents of the University of California
  2. '\" Permission to use, copy, modify, and distribute this
  3. '\" documentation for any purpose and without fee is hereby
  4. '\" granted, provided that this notice appears in all copies.
  5. '\" The University of California makes no representations about
  6. '\" the suitability of this material for any purpose.  It is
  7. '\" provided "as is" without express or implied warranty.
  8. '\" 
  9. '\" $Header: /sprite/src/lib/c/quad/RCS/Quad_Misc.man,v 1.1 91/03/18 12:20:38 kupfer Exp $ SPRITE (Berkeley)
  10. '/" 
  11. .so \*(]ltmac.sprite
  12. .HS Quad lib
  13. .BS
  14. '\" Note:  do not modify the .SH NAME line immediately below!
  15. .SH NAME
  16. Quad_PutUns, Quad_UnsToDouble \- Formatting and conversion for 64-bit integers
  17. .SH SYNOPSIS
  18. .nf
  19. \fB#include <quad.h>\fR
  20. .sp
  21. void
  22. \fBQuad_PutUns\fR(\fIstream\fR, \fIuQuad\fP)
  23. .sp
  24. double
  25. \fBQuad_UnsToDouble\fR(\fIuQuad\fR)
  26. .SH ARGUMENTS
  27. .AS u_quad uQuad
  28. .AP FILE *stream in
  29. I/O stream to write to.
  30. .AP u_quad uQuad in
  31. Unsigned 64-bit integer to operate on.
  32. .BE
  33.  
  34. .SH DESCRIPTION
  35. .PP
  36. .B Quad_PutUns
  37. formats an unsigned quad value and writes it to the given
  38. .IR stream .
  39. If the value is larger than a single integer, it is written as a
  40. floating point number.
  41. .B Quad_UnsToDouble
  42. converts an unsigned quad to a C double.
  43.  
  44. .SH KEYWORDS
  45. quad, I/O, conversion
  46.